using System;
using System.Collections;
using System.Collections.Generic;
using System.Text;
using Castle.ActiveRecord;
using NHibernate.Expression;

namespace WOODIFramework.Model
{
    //[ActiveRecord("PageItemPageLookup")]
    class PageItemPageLookup// : ActiveRecordBase<PageItemPageLookup>
    {
        #region Fields

        private Guid _id;
        private Page _page;
        private PageItem _pageItem;

        #endregion

        #region Properties

        [PrimaryKey(PrimaryKeyType.Assigned)]
        public Guid Id
        {
            get { return _id; }
            set { _id = value; }
        }

        [BelongsTo("PageID")]
        public Page Page
        {
            get { return _page; }
            set { _page = value; }
        }

        [BelongsTo("PageItemId")]
        public PageItem PageItem
        {
            get { return _pageItem; }
            set { _pageItem = value; }
        }


        #endregion
    }
}
